﻿@model IEnumerable<PNProject.EF.Product>
@{
    ViewBag.Title = "Category";
    Layout = "~/Views/Shared/AdminLayout.cshtml";
    string title = ViewData["head"].ToString();
    string tlink = ViewData["tlink"].ToString();
}

<div class="admin_head">
@title
</div>


<div class="admin_content">
<a class="newobject" href="/AdminPS/Create/@tlink">Tạo mới</a>
   <br />
   <br />

@foreach (var item in Model)
{
    <div class="item-div">
    <img src="/Images/Base/chimuc.jpg" style="margin-right:10px; margin-bottom:1px;"/>
    <a class="item-delete" href="/AdminPS/Delete/@item.ProductID.ToString()">Xóa</a>
    <a class="item-detail" href="/AdminPS/contextmenu/@item.ProductID.ToString()">QLmenu</a>
    <a class="item-link" href="/AdminPS/Edit/@item.ProductID.ToString()">@item.Name</a>
    </div>
}
</div>
